package id.co.rho.scoring.cid.client.command.impl;

import id.co.rho.scoring.cid.client.command.CommandResult;
import id.co.rho.scoring.cid.shared.model.NamedCriteriaModel;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: User3
 * Date: 31/07/11
 * Time: 16:17
 *
 * @author : Frizky
 * @email : frizkey@gmail.com
 * To change this template use File | Settings | File Templates.
 */
public class String64ToObjectDCResult<T> implements CommandResult {
    private T model;
    private List<T> models;

    public String64ToObjectDCResult() {
    }

    public String64ToObjectDCResult(List<T> models) {
        this.models = models;
    }

    public String64ToObjectDCResult(T model) {
        this.model = model;
    }

    public T getModel() {
        return model;
    }

    public void setModel(T model) {
        this.model = model;
    }

    public List<T> getModels() {
        return models;
    }

    public void setModels(List<T> models) {
        this.models = models;
    }
}
